import 'package:json_annotation/json_annotation.dart';

part 'GetContactsListItem.g.dart';

@JsonSerializable()
class GetContactsListItem {
  int? id;

  String? code;

  /// 昵称
  String? nickname;

  String? nicknamePy;

  String? nicknamePyPrefixLetter;

  /// 头像URL
  String? headPortrait;
  
  String? headPortraitStoreType;

  GetContactsListItem();

  Map<String, dynamic> toJson() {
    return _$GetContactsListItemToJson(this);
  }

  static GetContactsListItem fromJson(Map<String, dynamic> json) {
    return _$GetContactsListItemFromJson(json);
  }

  @override
  String toString() {
    return 'GetContactsListItem{id: $id, code: $code, nickname: $nickname, nicknamePy: $nicknamePy, nicknamePyPrefixLetter: $nicknamePyPrefixLetter, headPortrait: $headPortrait}';
  }
}
